package nhatquang.gs.model;

import nhatquang.gs.controler.ResourcesManager;

import org.andengine.engine.Engine;
import org.andengine.engine.camera.Camera;
import org.andengine.entity.scene.Scene;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

import android.app.Activity;

public abstract class BaseScene extends Scene{

	
	
	public Engine mEngine;
	public Activity mActivity;
	public ResourcesManager mResourcesManager;
	public Camera mCamera;
	public VertexBufferObjectManager VBOM;
	
	public BaseScene(){
		mResourcesManager = ResourcesManager.getInstance();
		mEngine = mResourcesManager.mEngine;
		mActivity = mResourcesManager.mActivity;
		mCamera = mResourcesManager.mCamera;
		VBOM = mResourcesManager.VBOM;
		createScene();
		
	}
	
	public abstract void createScene();
	
	public abstract void draw();
	
	public abstract void onBackKeyPressed();

	
}
